package com.new_wear.project.system.area.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;

/**
 * 系统 - 地区对象 cst_area
 * 
 * @author new_wear
 * @date 2020-01-07
 */
public class CstArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 父ID */
    @Excel(name = "父ID")
    private Integer pid;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 描述 */
    @Excel(name = "描述")
    private String brief;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** logo */
    @Excel(name = "logo")
    private String logo;

    /** 第三方标识 */
    @Excel(name = "第三方标识")
    private String thirdMark;

    /** 排序 */
    @Excel(name = "排序")
    private Integer display;

    /** 发稿数量 */
    @Excel(name = "发稿数量")
    private Integer articleNum;

    /** 活动数量 */
    @Excel(name = "活动数量")
    private Integer activityNum;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPid(Integer pid) 
    {
        this.pid = pid;
    }

    public Integer getPid() 
    {
        return pid;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setThirdMark(String thirdMark) 
    {
        this.thirdMark = thirdMark;
    }

    public String getThirdMark() 
    {
        return thirdMark;
    }
    public void setDisplay(Integer display) 
    {
        this.display = display;
    }

    public Integer getDisplay() 
    {
        return display;
    }
    public void setArticleNum(Integer articleNum) 
    {
        this.articleNum = articleNum;
    }

    public Integer getArticleNum() 
    {
        return articleNum;
    }
    public void setActivityNum(Integer activityNum) 
    {
        this.activityNum = activityNum;
    }

    public Integer getActivityNum() 
    {
        return activityNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("title", getTitle())
            .append("brief", getBrief())
            .append("img", getImg())
            .append("content", getContent())
            .append("logo", getLogo())
            .append("thirdMark", getThirdMark())
            .append("display", getDisplay())
            .append("articleNum", getArticleNum())
            .append("activityNum", getActivityNum())
            .toString();
    }
}
